package com.java.mytools;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author wangning
 */
@SpringBootApplication	//标注这个类是一个springboot应用
@EnableSwagger2
@MapperScan("com.java.mytools.dao.**")
public class MyToolsApplication {

	public static void main(String[] args) {
		//这是个静态方法，调用run启动项目
		SpringApplication.run(MyToolsApplication.class, args);
	}
}
